﻿<ResourceDictionary 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
   xmlns:local="clr-namespace:Orbifold.Unfold.Main"
    >
  <!--This is the data storage of the Office Ribbon (toolbar)-->
  <XmlDataProvider Source="/Resources/RibbonData.xml" x:Key="ribbonData" XPath="Ribbon/RibbonItem"/>
  <CollectionViewSource x:Key="src" Source="{Binding Source={StaticResource ribbonData}}">
    <CollectionViewSource.GroupDescriptions>
      <PropertyGroupDescription PropertyName="@Category"/>
    </CollectionViewSource.GroupDescriptions>
  </CollectionViewSource>
  <!--The list of colors appearing in the color picker.-->
  <ObjectDataProvider x:Key="colors" ObjectType="{x:Type local:ColorPicker}" MethodName="get_Colors"/>
</ResourceDictionary>